package cn.hd.commonService.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author hd
 * @since 2022-06-26
 */
@Getter
@Setter
@TableName("sys_role")
@ApiModel(value = "SysRole对象", description = "")
public class SysRole implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "recordId", type = IdType.AUTO)
    private Integer recordId;
    @ApiModelProperty(value = "角色名称",required = true)
    private String roleName;
    @TableField(value = "roleNo")
    private Integer roleNo;//排序号
    @TableLogic//逻辑删除标记
    private Integer deleted;
    @TableField(value = "roleDesc")
    private String roleDesc;//角色描述


}
